package dao.impl;

import org.springframework.context.ApplicationContext;

import core.dao.impl.BaseDaoImpl;
import model.contract.Contractensure;
import dao.ContractensureDao;

public class ContractensureDAOImpl extends BaseDaoImpl<Contractensure> implements ContractensureDao {
	public ContractensureDAOImpl(){
		super(Contractensure.class);
	}	
	
	public static ContractensureDao getFromApplicationContext(ApplicationContext ctx) {
    	return (ContractensureDao) ctx.getBean("contractensureDao");
	}
}
